<%-- 
    Document   : dao2
    Created on : 2014/8/20, 下午 02:11:45
    Author     : Yu
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
dao.BaseDAO y=new dao.BaseDAO( );
    String sql = "update person set username=?  where id=?";
    String ary[ ]={ " Mary " , "29" } ;
    int x=y.modify(sql, ary);

%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>dao2</title>
    </head>
    <body>
        <h1>dao2</h1>
	<%=  x   %>
	<a href="http://localhost:8084/Web3/list.jsp">list</a>
    </body>
</html>
